/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

/**
 *
 * @author JArik
 */
public class Distributor {

    private String name;
    private String descr;
    private int id;
    public Distributor()
    {
        
    }
    public Distributor(int newId, String newName)
    {
        id = newId;
        name = newName;
    }
    public int getId()
    {
        return id;
    }
    public String getDescr()
    {
        return descr;
    }
    public String getName()
    {
        return name;
    }
    public void setId(int nId)
    {
        id = nId;
    }
    public void setName(String nName)
    {
        name = nName;
    }
    public void setDescr(String des)
    {
        descr = des;
    }
    public String toString()
    {
        return name;
    }

}
